<?
class Info extends Module
{
	function Info($row)
	{
		Module::Module($row);
		
		CGlobal::$website_title = AZNet::$page['title'];
		
		switch (URL::get('cmd'))
		{
			case 'update_'.AZNet::$page['name']:
				require_once "forms/InfoEdit.php";
				$this->add_form(new InfoEditForm());
				break;
			default:
				require_once "forms/InfoView.php";
				$this->add_form(new InfoViewForm());
				break;
		}
	}
}
?>